package apr17ch8ex1;

public class Person {

	private String name;

	Person(String name) {
		System.out.println("konstruktor start");
		setName(name);
		System.out.println("konstruktor end");
	}

	public void setName(String name) {
		System.out.println("setter start");
		this.name = name;
		System.out.println("setter end");
	}

	public String getName() {
		System.out.println("getter inside");
		return this.name;

	}

}
